Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Data Structures Interview Questions and Answers

Question: What is the difference between ARRAY and STACK?
Answer: STACK follows LIFO. Thus the item that is first entered would be the last removed.

In array the items can be entered or removed in any order. Basically each member access is done using index. No strict order is to be followed here to remove a particular element.
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook